
from django.contrib import admin
from django.urls import path,re_path,include
from django.conf import settings
from django.views.static import serve
from user import views
from rest_framework.routers import SimpleRouter
router=SimpleRouter()
router.register('',views.LoginView,basename='loginview')
router.register('',views.SendCodeView,basename='sendcodeview')
router.register('register',views.CodeRegister,basename='CodeRegister')
urlpatterns = [
    # path('test/',views.test),
    # path('test2/',views.test2)
    path('test_redis/',views.test_redis),
    path('test_celery/',views.test_celery),
]

urlpatterns+=router.urls
